package com.yy.permissions_general.module.system.notice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yy.permissions_general.module.system.notice.entity.Notice;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 站内消息 Mapper 接口
 * </p>
 *
 * @author YY
 * @since 2022-01-27
 */
public interface NoticeMapper extends BaseMapper<Notice> {

    /**
    * 分页查询
    * @param pageContext
    * @param notice
    * @return
    */
    Page<Notice> selectPage(@Param("page")Page pageContext, @Param("notice")Notice notice);

}

